package com.sptpc.demo1.repository;

import com.sptpc.demo1.model.Drink;
import com.sptpc.demo1.model.Order;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface OrderRepository extends JpaRepository<Order,Integer> {
    List<Order> findOrderByCustomerLike(String name);
}
